import express from 'express'
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
const app = express()

app.get('/test', (req, res) => {
  prisma.group.findMany().then((result) => {
    res.send(result)
  })
})
app.use(express.json())
app.listen(8090)
